package com.gupaoedu.springframework.mvcframework.webmvc;

import lombok.Data;

import java.lang.reflect.Method;
import java.util.regex.Pattern;

/**
 * projectName: my-springframwork
 * packageName: com.gupaoedu.springframework.mvcframework.webmvc
 * Created: 2019/4/15.
 * Auther: baifc
 * Description:
 */
@Data
public class MyHandlerMapping {
    private Pattern pattern;
    private Object controller;
    private Method method;

    public MyHandlerMapping(Pattern pattern, Object controller, Method method) {
        this.pattern = pattern;
        this.controller = controller;
        this.method = method;
    }
}
